package com.ys.modules.base.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;

@Data
@TableName("tg_bsc_wallet_recharge")
@ApiModel("BSC钱包充值记录")
public class TgBscWalletRecharge {
    @ApiModelProperty(value = "id")
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "系统内userId，根据address匹配出来")
    private Long userId;

    @ApiModelProperty(value = "结果中userId")
    private String respUserId;

    @ApiModelProperty(value = "发送方地址")
    private String fromAddress;

    @ApiModelProperty(value = "接受方地址")
    private String toAddress;

    @ApiModelProperty(value = "转账额度")
    private String amount;

    @ApiModelProperty(value = "转账币种(USDT)")
    private String currency;

    @ApiModelProperty(value = "转账hash")
    private String hash;

    @ApiModelProperty(value = "sign")
    private String sign;

    @ApiModelProperty(value = "回调中时间戳")
    private String timestamp;

    @ApiModelProperty(value = "钱包类型2: BEP20")
    private String walletType;

    @ApiModelProperty(value = "记录状态: 0-有效 1-无效")
    private Integer status;

    @ApiModelProperty(value = "创建者")
    private String creator;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新者")
    private String updater;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "是否删除")
    private Integer deleted;
} 